package com.mine.common.widget.item;

import android.view.View;
import android.widget.CompoundButton;

public class SettingItem {
	
	private SettingItem(){}
	
	public static final int TYPE_TITLE = 1;
	public static final int TYPE_CHECKABLE = 2;
	public static final int TYPE_CLICKABLE = 3;
	
	private int type;
	private String title;
	private String description;
	private View.OnClickListener onClickListener;
	private CompoundButton.OnCheckedChangeListener onCheckedChangeListener;
	
	
	public static SettingItem createTitleItem(String title) {
		SettingItem settingItem = new SettingItem();
		settingItem.type = TYPE_TITLE;
		settingItem.title = title;
		
		return settingItem;
	}
}
